import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-register',
  templateUrl: './register.component.html',
  styleUrls: ['./register.component.scss']
})
export class RegisterComponent implements OnInit {
  avatarIcons: string[];
  constructor() { }

  ngOnInit() {
    const nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
    this.avatarIcons = nums.map(num => `icons${num}`);
    console.log(this.avatarIcons);
  }

}
